package com.huifaapp.mall.bean;

import java.util.List;

/**
 * Created by duanyu on 2018/1/11.
 */

public class TeamBean {

    /**
     * msg : 请求成功！
     * code : 10000
     * data : {"total":2,"list":[{"userId":"1002","userName":"宏达","userPhone":"15122433333","teamNum":1000,"creatTime":"2017-11-09 13:53:47","inviteName":"ccc","totalSale":100},{"userId":"1001","userName":"李大宝","userPhone":"131000200001","teamNum":0,"creatTime":"2017-11-07 13:47:33","inviteName":"ccc","totalSale":0}]}
     */

    private String msg;
    private String code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 2
         * list : [{"userId":"1002","userName":"宏达","userPhone":"15122433333","teamNum":1000,"creatTime":"2017-11-09 13:53:47","inviteName":"ccc","totalSale":100},{"userId":"1001","userName":"李大宝","userPhone":"131000200001","teamNum":0,"creatTime":"2017-11-07 13:47:33","inviteName":"ccc","totalSale":0}]
         */

        private int total;
        private List<ListBean> list;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * userId : 1002
             * userName : 宏达
             * userPhone : 15122433333
             * teamNum : 1000
             * creatTime : 2017-11-09 13:53:47
             * inviteName : ccc
             * totalSale : 100
             */

            private String userId;
            private String userName;
            private String userPhone;
            private int teamNum;
            private String creatTime;
            private String inviteName;
            private int totalSale;

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserPhone() {
                return userPhone;
            }

            public void setUserPhone(String userPhone) {
                this.userPhone = userPhone;
            }

            public int getTeamNum() {
                return teamNum;
            }

            public void setTeamNum(int teamNum) {
                this.teamNum = teamNum;
            }

            public String getCreatTime() {
                return creatTime;
            }

            public void setCreatTime(String creatTime) {
                this.creatTime = creatTime;
            }

            public String getInviteName() {
                return inviteName;
            }

            public void setInviteName(String inviteName) {
                this.inviteName = inviteName;
            }

            public int getTotalSale() {
                return totalSale;
            }

            public void setTotalSale(int totalSale) {
                this.totalSale = totalSale;
            }
        }
    }
}
